home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1997 August / Walnut Creek CDROM.7z / VOL_400 / 415_02 / CPP_LIBS / INCLUDE / LISTCONS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-07  |  726 b   |  26 lines

  1. #ifndef   _H_LIST_CONSTS
  2. #define   _H_LIST_CONSTS
  3.  
  4. #ifndef lint
  5. static const char list_consts_sccs_id[]="%W% %G% %U%: Component-%Y% %Q% ";
  6. #endif
  7.  
  8.  const    int    SINGLE = 1 ;
  9.  const    int    DOUBLE = 2 ;
  10.  const    int    LOCKED_SINGLE = 3 ;
  11.  const    int    LOCKED_DOUBLE = 4 ;
  12.  
  13.  const    int    SINGLE_ITER = SINGLE << 2 ;
  14.  const    int    DOUBLE_ITER = DOUBLE << 2 ;
  15.  const    int    LOCKED_SINGLE_ITER = LOCKED_SINGLE << 2 ;
  16.  const    int    LOCKED_DOUBLE_ITER = LOCKED_DOUBLE << 2 ;
  17.  
  18.  
  19. // An element is put at the begining of the list, if the queue operation
  20. // is called with a HIGH priority and it is put at the end of the list,
  21. // otherwise.
  22. enum    ListElemPriority { HIGH, REGULAR } ;
  23.  
  24.  
  25. #endif //    _H_LIST_CONSTS
  26.